package com.hsd.znsh.config;

import org.springframework.aop.interceptor.AsyncUncaughtExceptionHandler;
import org.springframework.cache.CacheManager;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cache.support.SimpleCacheManager;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.scheduling.annotation.AsyncConfigurer;
import org.springframework.scheduling.annotation.EnableAsync;

import java.lang.reflect.Method;
import java.util.concurrent.Executor;
import java.util.concurrent.Executors;

/*
 * @auther: wangjiacai
 *
 * @create: 2018-06-25 14:40:48
 */
@EnableCaching
//@Configuration
public class ZnshCacheConfig{

    @Bean
    public CacheManager cacheManager(){
        return new SimpleCacheManager();
    }

}
